package speed.mvc.validator;

/**
 * 用于验证的接口类
 * 
 * @author zhaohaolin(zhaohaolin2010@gmail.com)
 */
public interface Validator {

    public abstract boolean supports(Class<?> class1);

    public abstract void validate(Object obj, Errors errors);

}
